package org.dromara.business.domain.bo;

import org.dromara.business.domain.UserInfoWeb;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.system.domain.vo.SysUserVo;

import java.util.Date;

/**
 * 用户附加信息业务对象 t_user_info
 *
 * @author Hao Tong Xue
 * @date 2025-04-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = UserInfoWeb.class, reverseConvertGenerate = false)
public class UserInfoWebBo extends BaseEntity {

    /**
     * 用户信息 ID
     */
    @NotNull(message = "用户信息 ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 个性签名
     */
    private String signature;

    /**
     * 当前硬币余额
     */
    private Long balance;

    /**
     * 当前经验值
     */
    private Long experience;

    /**
     * 生日
     */
    private Date birthday;

    /**
     * 账号等级
     */
    private Long userLevelId;

    /**
     * 关注数量
     */
    private Integer followNum;

    /**
     * 粉丝数量
     */
    private Integer fansNum;

    /**
     * 备注
     */
    private String remark;

    /**
     * 用户名称
     */
    private String userNickName;

    /**
     * 手机号
     */
    private String tel;

    /**
     * 用户主页皮肤ID
     */
    private Long skinId;

    /**
     * 公告
     */
    private String notice;

    /**
     * 用户信息 -> 扩展
     */
    private SysUserVo userVo;


}
